import Vue from 'vue'
import Router from 'vue-router'
import home from '@/page/home'
import activity from '@/page/activity'
import project from '@/page/project'
import recruit from '@/page/recruit'
import login from '@/page/login'
import information from '@/page/information'
import admin from '@/page/admin'
import userBook from '@/page/userBook'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'home',
      component: home
    },
		{
		  path: '/index',
		  name: 'home',
		  component: home
		},
    {
      path: '/home',
      name: 'home',
      component: home
    },
    {
      path: '/activity',
      name: 'activity',
      component: activity
    },
    {
      path: '/project',
      name: 'project',
      component: project
    },
    {
      path: '/recruit',
      name: 'recruit',
      component: recruit
    },
    {
      path: '/login',
      name: 'login',
      component: login
    },
    {
      path: '/information',
      name: 'information',
      component: information
    },
	{
	  path: '/admin',
	  name: 'admin',
	  component: admin
	},
	{
	  path: '/userBook',
	  name: 'userBook',
	  component: userBook
	}

  ]
})
